home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
System Booster
/
System Booster.iso
/
Systemmonitors
/
Snoopy
/
Macros
/
parse
< prev
next >
Wrap
Text File
|
1996-09-26
|
474b
|
30 lines
KEYWORD_COUNT set 0
DEFINEKEYWORDSTRING MACRO
.keyword_\*VALOF(\1) dc.b KEYWORDSTRING_\*VALOF(\1),0
ENDM
keyword MACRO
IFC '\1','RESET'
KEYWORD_COUNT set 0
ELSE
IFC '\1','DONE'
dc.l 0
FOR i = 0 TO KEYWORD_COUNT-1 STEP 1
DEFINEKEYWORDSTRING i
NEXT
even
ELSE
KEYWORD_COUNT set KEYWORD_COUNT+1
KEYWORDSTRING_\*VALOF(KEYWORD_COUNT) SETSTR '\2'
dc.l .keyword_\*VALOF(KEYWORD_COUNT),Set\1
ENDC
ENDC
ENDM
defs MACRO
xdef \1
\1 ds\0 \2
ENDM